package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DispatchMonitoringItem;

/**
 * 监测项Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface DispatchMonitoringItemMapper 
{
    /**
     * 查询监测项
     * 
     * @param monitoringItemId 监测项主键
     * @return 监测项
     */
    public DispatchMonitoringItem selectDispatchMonitoringItemByMonitoringItemId(Long monitoringItemId);

    /**
     * 查询监测项列表
     * 
     * @param dispatchMonitoringItem 监测项
     * @return 监测项集合
     */
    public List<DispatchMonitoringItem> selectDispatchMonitoringItemList(DispatchMonitoringItem dispatchMonitoringItem);

    /**
     * 新增监测项
     * 
     * @param dispatchMonitoringItem 监测项
     * @return 结果
     */
    public int insertDispatchMonitoringItem(DispatchMonitoringItem dispatchMonitoringItem);

    /**
     * 修改监测项
     * 
     * @param dispatchMonitoringItem 监测项
     * @return 结果
     */
    public int updateDispatchMonitoringItem(DispatchMonitoringItem dispatchMonitoringItem);

    /**
     * 删除监测项
     * 
     * @param monitoringItemId 监测项主键
     * @return 结果
     */
    public int deleteDispatchMonitoringItemByMonitoringItemId(Long monitoringItemId);

    /**
     * 批量删除监测项
     * 
     * @param monitoringItemIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDispatchMonitoringItemByMonitoringItemIds(Long[] monitoringItemIds);
}
